Radar Host Communication library  2020.08.13
EndpointRadarD2GL_SC_FMCW

EndpointRadarD2GL_SC_FMCW documentation. More...

Data Structures

struct  fmcw_para_values_t
 
struct  fmcw_para_value_def_host_t
 
struct  fmcw_para_values_def_cnf_ctx_t
 
struct  fmcw_result_cnf_t
 
struct  fmcw_adv_result_cnf_t
 

Typedefs

typedef void(* fmcw_para_values_cnf_callback_t) (void *p_context, int32_t protocol_handle, uint8_t endpoint, fmcw_para_values_t *ps_para_values)
 This is the callback type executed on a parameter value confirmation event, triggered, by a parameter value request command. More...
 
typedef void(* fmcw_para_values_def_cnf_callback_t) (fmcw_para_values_def_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, fmcw_para_value_def_host_t *ps_para_values)
 This is the callback type executed on a parameter value confirmation event, triggered, by a parameter value request command. More...
 
typedef void(* fmcw_result_cnf_callback_t) (void *p_context, int32_t protocol_handle, uint8_t endpoint, fmcw_result_cnf_t *ps_para_values)
 
typedef void(* fmcw_adv_result_cnf_callback_t) (void *p_context, int32_t protocol_handle, uint8_t endpoint, fmcw_adv_result_cnf_t *ps_para_values)
 
typedef void(* fmcw_get_shield_info_cnf_callback_t) (fmcw_get_shield_info_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, fmcw_get_shield_info_cnf_t *ps_temperature)
 

Functions

int32_t ep_radar_d2gl_scfmcw_is_compatible_endpoint (int32_t protocol_handle, uint8_t endpoint)
 This function checks if an endpoint in a device is a Radar D2GL endpoint. More...
 
int32_t ep_radar_d2gl_scfmcw_para_value_req (int32_t protocol_handle, uint8_t endpoint)
 This function is used to request the parameter values,. More...
 
int32_t ep_radar_d2gl_scfmcw_para_value_def_req (int32_t protocol_handle, uint8_t endpoint)
 
int32_t ep_radar_d2gl_scfmcw_para_set_value_req (int32_t protocol_handle, uint8_t endpoint, fmcw_para_values_t *p_data)
 
int32_t ep_radar_d2gl_scfmcw_result_req (int32_t protocol_handle, uint8_t endpoint, uint32_t repeat_count)
 
int32_t ep_radar_d2gl_scfmcw_adv_result_req (int32_t protocol_handle, uint8_t endpoint, uint32_t repeat_count)
 
int32_t ep_radar_d2gl_scfmcw_get_shield_info_req (int32_t protocol_handle, uint8_t endpoint)
 
int32_t ep_radar_d2gl_scfmcw_get_raw_data_req (int32_t protocol_handle, uint8_t endpoint, uint32_t repeat_count)
 
fmcw_para_values_cnf_callback_t ep_radar_d2gl_scfmcw_set_para_value_cb (fmcw_para_values_cnf_callback_t callback, void *p_context, void **prev_context)
 
void ep_radar_d2gl_scfmcw_set_para_def_cb (fmcw_para_values_def_cnf_callback_t callback, fmcw_para_values_def_cnf_ctx_t *p_context)
 
void ep_radar_d2gl_scfmcw_set_result_cb (fmcw_result_cnf_callback_t callback, void *p_context)
 
void ep_radar_d2gl_scfmcw_set_adv_result_cb (fmcw_adv_result_cnf_callback_t callback, void *p_context)
 
void ep_radar_d2gl_scfmcw_set_shield_info_cb (fmcw_get_shield_info_cnf_callback_t callback, fmcw_get_shield_info_cnf_ctx_t *p_context)
 
void ep_radar_d2gl_scfmcw_set_raw_data_cb (get_raw_data_cnf_callback_t callback, void *p_context)
 

Detailed Description

EndpointRadarD2GL_SC_FMCW documentation.

Typedef Documentation

◆ fmcw_adv_result_cnf_callback_t

typedef void(* fmcw_adv_result_cnf_callback_t) (void *p_context, int32_t protocol_handle, uint8_t endpoint, fmcw_adv_result_cnf_t *ps_para_values)

Definition at line 228 of file EndpointRadarD2GL.h.

◆ fmcw_get_shield_info_cnf_callback_t

typedef void(* fmcw_get_shield_info_cnf_callback_t) (fmcw_get_shield_info_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, fmcw_get_shield_info_cnf_t *ps_temperature)

Definition at line 231 of file EndpointRadarD2GL.h.

◆ fmcw_para_values_cnf_callback_t

typedef void(* fmcw_para_values_cnf_callback_t) (void *p_context, int32_t protocol_handle, uint8_t endpoint, fmcw_para_values_t *ps_para_values)

This is the callback type executed on a parameter value confirmation event, triggered, by a parameter value request command.

  • Whenever a callback is issued, the following parameters are passed to the callback:
Parameters
[in]contextThe context data pointer, provided along with the callback itself through ep_radar_industrial_set_callback_bgt_lna_status.
[in]protocol_handleThe handle of the connection, the sending device is connected to.
[in]endpointThe number of the endpoint that has sent the message.
[in]ps_para_valuepointer to static memory of type fmcw_para_values_t, holding the parameter values.

Definition at line 199 of file EndpointRadarD2GL.h.

◆ fmcw_para_values_def_cnf_callback_t

typedef void(* fmcw_para_values_def_cnf_callback_t) (fmcw_para_values_def_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, fmcw_para_value_def_host_t *ps_para_values)

This is the callback type executed on a parameter value confirmation event, triggered, by a parameter value request command.

  • Whenever a callback is issued, the following parameters are passed to the callback:
Parameters
[in]contextThe context data pointer, provided along with the callback itself through ep_radar_industrial_set_callback_bgt_lna_status.
[in]protocol_handleThe handle of the connection, the sending device is connected to.
[in]endpointThe number of the endpoint that has sent the message.
[in]ps_para_valuepointer to static memory of type fmcw_para_values_t, holding the parameter values.

Definition at line 221 of file EndpointRadarD2GL.h.

◆ fmcw_result_cnf_callback_t

typedef void(* fmcw_result_cnf_callback_t) (void *p_context, int32_t protocol_handle, uint8_t endpoint, fmcw_result_cnf_t *ps_para_values)

Definition at line 225 of file EndpointRadarD2GL.h.

Function Documentation

◆ ep_radar_d2gl_scfmcw_adv_result_req()

int32_t ep_radar_d2gl_scfmcw_adv_result_req ( int32_t  protocol_handle,
uint8_t  endpoint,
uint32_t  repeat_count 
)

Definition at line 752 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_get_raw_data_req()

int32_t ep_radar_d2gl_scfmcw_get_raw_data_req ( int32_t  protocol_handle,
uint8_t  endpoint,
uint32_t  repeat_count 
)

Definition at line 783 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_get_shield_info_req()

int32_t ep_radar_d2gl_scfmcw_get_shield_info_req ( int32_t  protocol_handle,
uint8_t  endpoint 
)

Definition at line 767 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_is_compatible_endpoint()

int32_t ep_radar_d2gl_scfmcw_is_compatible_endpoint ( int32_t  protocol_handle,
uint8_t  endpoint 
)

This function checks if an endpoint in a device is a Radar D2GL endpoint.

This function checks type and version of the specified endpoint in a connected device and returns a code that indicates if that endpoint is compatible to the radar endpoint implementation in this module.

Parameters
[in]protocol_handleA handle to the connection to the sensor device.
[in]endpointThe endpoint in the connected device to be checked for compatibility.
Returns
If the specified endpoint is compatible to this implementation the function returns 0. If the endpoint is not compatible, a negative error code is returned.

Definition at line 617 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_para_set_value_req()

int32_t ep_radar_d2gl_scfmcw_para_set_value_req ( int32_t  protocol_handle,
uint8_t  endpoint,
fmcw_para_values_t *  p_data 
)

Definition at line 705 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_para_value_def_req()

int32_t ep_radar_d2gl_scfmcw_para_value_def_req ( int32_t  protocol_handle,
uint8_t  endpoint 
)

Definition at line 692 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_para_value_req()

int32_t ep_radar_d2gl_scfmcw_para_value_req ( int32_t  protocol_handle,
uint8_t  endpoint 
)

This function is used to request the parameter values,.

results in callback of type fmcw_para_values_cnf_callback_t

Parameters
[in]protocol_handleA handle to the connection to the sensor device.
[in]endpointThe endpoint in the connected device to be checked for compatibility.
Returns
If the specified endpoint is compatible to this implementation the function returns 0. If the endpoint is not compatible, a negative error code is returned.

Definition at line 679 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_result_req()

int32_t ep_radar_d2gl_scfmcw_result_req ( int32_t  protocol_handle,
uint8_t  endpoint,
uint32_t  repeat_count 
)

Definition at line 737 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_set_adv_result_cb()

void ep_radar_d2gl_scfmcw_set_adv_result_cb ( fmcw_adv_result_cnf_callback_t  callback,
void *  p_context 
)

Definition at line 655 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_set_para_def_cb()

void ep_radar_d2gl_scfmcw_set_para_def_cb ( fmcw_para_values_def_cnf_callback_t  callback,
fmcw_para_values_def_cnf_ctx_t *  p_context 
)

Definition at line 641 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_set_para_value_cb()

fmcw_para_values_cnf_callback_t ep_radar_d2gl_scfmcw_set_para_value_cb ( fmcw_para_values_cnf_callback_t  callback,
void *  p_context,
void **  prev_context 
)

Definition at line 627 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_set_raw_data_cb()

void ep_radar_d2gl_scfmcw_set_raw_data_cb ( get_raw_data_cnf_callback_t  callback,
void *  p_context 
)

Definition at line 670 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_set_result_cb()

void ep_radar_d2gl_scfmcw_set_result_cb ( fmcw_result_cnf_callback_t  callback,
void *  p_context 
)

Definition at line 648 of file EndpointRadarD2GL.c.

◆ ep_radar_d2gl_scfmcw_set_shield_info_cb()

void ep_radar_d2gl_scfmcw_set_shield_info_cb ( fmcw_get_shield_info_cnf_callback_t  callback,
fmcw_get_shield_info_cnf_ctx_t *  p_context 
)

Definition at line 662 of file EndpointRadarD2GL.c.